{config_load file="$language/lang.conf" section="reviews"}
<h3 class="ntitle">
<img src="{$tpl_path}images/ntitlebg.png" alt="" width="43" height="39">{#heading_reviews_write#}</h3>
<hr />
<br />
{if $captcha_error}
<div class="warning">
	<div>{$captcha_error}</div>
</div><br /><br />
{/if}
{if $error}
<div class="warning">
	<div>{$error}</div>
</div><br /><br />
{else}
{$FORM_ACTION}
<table class="cblock" width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_left_top.gif" width="3" height="3" alt="" /></td>
                  <td class="cblock-top"><img src="{$tpl_path}spacer.png" width="1" height="3" alt="" /></td>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_right_top.gif" width="3" height="3" alt="" /></td>
                </tr>
                <tr valign="top">

		<td class="cblock-left"></td>

		<td>
<table width="100%" border="0" cellspacing="1" cellpadding="7" class="bgcolor4">
	<tr>
    <th>{#text_product#}</th><th>{$PRODUCTS_NAME}</th>
    </tr>


<tr class="bgcolor1">
<td><strong>{#text_author#}</strong></td><td>{$AUTHOR}</td>
</tr>
<tr class="bgcolor1">
<td valign="top"><strong>{#text_input#}</strong></td><td>{$INPUT_TEXT}<br />{#text_note#}</td>
</tr>
<tr class="bgcolor1">
<td><strong>{#text_rating#}</strong></td><td><font color="#FF0000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>{#text_bad#}</b></font>{$INPUT_RATING}<font color="#FF0000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><b>{#text_good#}</b></font></td>
</tr>
<tr class="bgcolor1">
<td><strong>{#text_sec_code#}</strong></td><td>{$CAPTCHA_IMG}</td>
</tr>
<tr class="bgcolor1">
<td><strong>{#text_sec_code_text#}</strong></td><td>{$CAPTCHA_INPUT}</td>
</tr>
<tr class="bgcolor1">
<td><a href="javascript:history.back(1)"  class="fbutton">Назад</a></td><td align="right">{$BUTTON_SUBMIT}</td>
</tr>
    </table>
		</td>

		<td class="cblock-right"></td>
                </tr>
                <tr>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_left_bottom.gif" width="3" height="7" alt="" /></td>
                  <td class="cblock-bottom"><img src="{$tpl_path}spacer.png" width="1" height="7" alt="" /></td>
                  <td width="3"><img src="{$tpl_path}images/cblock/cblock_right_bottom.gif" width="3" height="7" alt="" /></td>
                </tr>
</table>
{$FORM_END}
{/if}